package com.gblfy;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author gblfy
 * @ClassNme FlowableApplication
 * @Description TODO
 * @Date 2019/11/4 14:07
 * @version1.0
 */
//扫描Service
@ComponentScan(basePackages = { "com.gblfy.**" })
//扫描Mapper
@MapperScan(basePackages = {"com.gblfy.**"})
@SpringBootApplication
public class FlowableApplication {

    private final static Logger logger = LoggerFactory.getLogger(FlowableApplication.class);

    public static void main(String[] args){
        logger.info("开始启动服务 ");
        SpringApplication.run(FlowableApplication.class,args);
        logger.info("完成启动服务 ");
    }
}
